package com.balabala.api;

import com.balabala.dto.VipCardDto;
import com.balabala.result.Result;
import com.balabala.vo.ShippingAddressVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * Author:zl
 * Date:2023/5/7 16:10
 */
@FeignClient(value = "gym-user-service",contextId = "shippingAddressFeign")
public interface ShippingAddressFeignClient {

    @GetMapping("/admin/shippingAddress/findUserAllShippingAddress")
   public Result<List<ShippingAddressVo>> findUserAllShippingAddress(@RequestParam Long userId);
}
